package com.zhangfb95.crosschain.plugin.container.java.fabric2.infra.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhangfubing
 * @since 2024/1/2
 */
@AllArgsConstructor
@Getter
public enum AccessTypeEnum {

    LOCAL("local"),
    REMOTE("remote"),
    ;

    private final String code;

    public boolean is(String code) {
        return this.code.equals(code);
    }
}
